//
//  LayerShop.h
//  lhq
//
//  Created by codin on 14-7-24.
//
//

#ifndef __lhq__LayerShop__
#define __lhq__LayerShop__

#include "cocos2d.h"
#include "pomelo.h"
#include "ui/CocosGUI.h"

USING_NS_CC;
using namespace ui;

class LayerShop : public cocos2d::Layer {
public:
    static cocos2d::Scene* createScene();
    
    virtual bool init();
    
    void onCloseClick(Ref* sender);
    void onSwitchClick(Ref* sender);
    
    CREATE_FUNC(LayerShop);
    
private:
    LayerMultiplex* _layerMultiplex;
    
    MenuItemImage* _switchBtn0;
    MenuItemImage* _switchBtn1;
    
    Layer* createRmLayer();
    Layer* createVmLayer();
};

#endif /* defined(__lhq__LayerShop__) */
